/* 移位单
 */

import { postRequest, getRequest, getDownload } from '@/lib/axios'

export const movingOrderApi = {
  // 移位单列表
  queryMovingOrderList: (param) => {
    return getRequest('/moving_order/list', param)
  },
  // 创建
  modifyMovingOrder: (param) => {
    return postRequest('/moving_order/add', param)
  },
  // 详情
  detailMovingOrder: (param) => {
    return getRequest('/moving_order/detail', param)
  },
  // 导出
  exportXlsx: (param) => {
    return getDownload('/moving_order/exportXlsx', param)
  }
}
